package com.bitin.adorn.modules.transaction.enumeration;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;

/**
 * @author Mr.Lu
 * @since 2024/9/13 10:55
 */
@Getter
@JsonFormat( shape = JsonFormat.Shape.OBJECT )
public enum TransactionChannel {
    OFFLINE( "线下" ),
    ALIPAY( "支付宝" ),
    UNION_PAY( "银联支付" ),
    WECHAT_PAY( "微信支付" ),
    ;
    private final String display;
    private final String value = name( );

    TransactionChannel( String display ) {
        this.display = display;
    }
}
